<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head (title)">
    <title th:text="${title}">Fragments</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"
          href="../../css/bootstrap.min.css" />
</head>
<body>
<div class="container">
    <nav th:fragment="navbar" class="navbar navbar-dark bg-primary">
        <a class="navbar-brand" href="http://https://blog.csdn.net/haoxiaoyong1014">haoxiaoyong</a>
        <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
            <li class="nav-item"><a class="nav-link" th:href="@{/}" href="messages.html">Messages</a></li>
        </ul>
    </nav>
</div>
</body>
</html>